package com.mjk.common.web.getway.restful.interceptor;


import com.mjk.common.base.response.BeeResponse;
import com.mjk.common.tools.interceptor.DefaultInterceptorChain;
import com.mjk.common.web.getway.restful.interceptor.GetWayInterceptorReq;

/**
 * @author mjk
 */
public interface InterceptorInvoker {
	/**
	 * 调用
	 */
	default BeeResponse invoker(DefaultInterceptorChain<GetWayInterceptorReq, BeeResponse> chains,
								GetWayInterceptorReq req) {
		return chains.proceed(req);
	}
}
